package com.amigo.online.provider.manager.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "follow_tbl")
@Alias(value = "followTbl")
public class FollowTbl extends PageDto {

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    @Column(name = "user_id")
    private Long userId;// 用户id

    @Column(name = "target_user_id")
    private Long targetUserId;// 被关注用户id

    @Column(name = "canceled")
    private Integer canceled;// 0关注1取消

    @Column(name = "canceled_time")
    private Long canceledTime;// 取消关注时间

    @Column(name = "remarks")
    private String remarks;// 评论

    @Column(name = "mutual")
    private Integer mutual;// 是否相互关注1有效0无效

    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(Long targetUserId) {
        this.targetUserId = targetUserId;
    }

    public Integer getCanceled() {
        return canceled;
    }

    public void setCanceled(Integer canceled) {
        this.canceled = canceled;
    }

    public Long getCanceledTime() {
        return canceledTime;
    }

    public void setCanceledTime(Long canceledTime) {
        this.canceledTime = canceledTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getMutual() {
        return mutual;
    }

    public void setMutual(Integer mutual) {
        this.mutual = mutual;
    }

}
